package com.etc.service;


import com.etc.pojo.Favorite;
import com.etc.pojo.History;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;


public interface HistoryPersonageService {

    /**
     * 查询用户发布所有视频
     * @param userId
     * @return
     */
    PageInfo<History> queryAllHistoryByUserId(String userId, Integer date , Integer pageNum);

    /**
     * 删除视频
     * @param historyId
     * @return
     */
    boolean deleteHistoryByVideoId( Integer historyId);
}
